package com.heima.common.constants;

public class BehaviorConstants {
    /**
     * redis key 前缀
     */
    public static final String ARTICLE_LIKE = "ARTICLE_LIKE";
    public static final String ARTICLE_LIKE_COUNT = "ARTICLE_LIKE_COUNT";
    public static final String DYNAMIC_LIKE = "DYNAMIC_LIKE";
    public static final String COMMENT_LIKE = "COMMENT_LIKE";

    public static final String ARTICLE_READ_COUNT = "ARTICLE_READ_COUNT";
    public static final String ARTICLE_DISLIKE = "ARTICLE_DISLIKE";

    public static final String COLLECT_ARTICLE="COLLECT_ARTICLE";
    public static final String COLLECT_DYNAMIC="COLLECT_DYNAMIC";

    public final static String FOLLOW_AUTHOR="FOLLOW_AUTHOR";

    /**
     * 点赞操作
     */
    public static final Short ARTICLE_LIKE_ACTION=0;
    /**
     * 取消点赞操作
     */
    public static final Short ARTICLE_UNLIKE_ACTION=1;

    /**
     * 不喜欢操作
     */
    public static final Short ARTICLE_DISLIKE_ACTION=0;
    /**
     * 取消不喜欢操作
     */
    public static final Short ARTICLE_CANCEL_DISLIKE_ACTION=1;

    /**
     * 收藏操作
     */
    public static final Short ARTICLE_COLLECT_ACTION=0;
    /**
     * 取消收藏操作
     */
    public static final Short ARTICLE_CANCEL_COLLECT_ACTION=1;

    /**
     * 关注操作
     */
    public static final Short ARTICLE_FOLLOW_ACTION=0;
    /**
     * 为关注操作
     */
    public static final Short ARTICLE_CANCEL_FOLLOW_ACTION=1;
}
